<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="Dome.css">
</head>
<body>
<div id="app">
    <h3>注册</h3>
        <form>
            用户名：<input type="text" v-model="user.userName"><br>
            密码：<input type="password" v-model="user.password"><br>
            确认密码：<input type="password" v-model="user.beginPass"><br>
            性别：<input type="radio" v-model="user.sex" value="0">男
                 <input type="radio" v-model="user.sex" value="1">女<br>
            爱好：<input type="checkbox" v-model="user.like" value="0">读书
                 <input type="checkbox" v-model="user.like" value="1">体育
                 <input type="checkbox" v-model="user.like" value="2">旅游<br>
            国籍：<select v-model="user.nationality">
                 <option value="0">中国</option>
                 <option value="1">俄罗斯</option>
                 <option value="2">美国</option>
                 </select><br>
            个人简介：<textarea cols="30" rows="5" v-model="user.brief"></textarea>
            <input type="button" @click="reg" value="提交">
        </form>
</div>

<script src="../../../../vue.global.js"></script>
<script src="Dome.js"></script>
</body>
</html>